package domain;

import java.math.BigDecimal;

/**
 * 水果类
 */
public class Fruits {

    //水果名称
    private String fruitName;
    //价格
    private BigDecimal price;

    public Fruits(String fruitName, BigDecimal price) {
        this.fruitName = fruitName;
        this.price = price;
    }

    public String getFruitName() {
        return fruitName;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setFruitName(String fruitName) {
        this.fruitName = fruitName;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
}
